package com.hhd.pojo;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Aspect

public class PersonProxy {
    @Before(value = "execution(* com.hhd.pojo.User.add(..))")
    @Order(1)
    public void personBefore(){
        System.out.println("personBefore");

    }


}
